package com.aqie.rabbit.config;

import com.aqie.rabbit.service.Impl.UserServiceImpl;

public class MyThread implements Runnable {

    public UserServiceImpl userService;
    public MyThread(){
        this.userService = (UserServiceImpl) ApplicationContextProvider.getBean("userServiceImpl");
    }
    @Override
    public void run() {

    }

    public UserServiceImpl getUserService() {
        return userService;
    }

    public void setUserService(UserServiceImpl userService) {
        this.userService = userService;
    }
}
